/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

import javax.swing.JPanel;
import model.Document;
import net.miginfocom.swing.MigLayout;

/**
 *
 * @author Ira
 */
public abstract class DocumentPropertiesField extends JPanel {
	protected boolean editable;
	
	public DocumentPropertiesField(boolean editable) {
		this.editable = editable;
		this.setLayout(new MigLayout("insets 0 0 0 0"));
	}
	
	public abstract void setContent(Document d);
	public abstract void getContent(Document d);
}
